package cn.rxmind.dlog.db.starter.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * @description 数据库类型Sender配置项
 *
 * @author renxin
 * @email renxinzhiliangzhi@163.com
 * @date 2020/7/13 4:18 下午
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "dlog.db")
public class DBProperties {

    /**  数据库字段和取值字段映射关系 */
    private Map<String,String> columnMapping = new HashMap();

    private String tableName = "demo_log";

}
